package com.cqs.learning.spring.cloud.producer;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Created by li on 20-2-29.
 */
@EnableDiscoveryClient
@SpringBootApplication
@MapperScan("com.cqs.learning.spring.cloud.producer.mapper")
public class MainLauncher extends SpringBootServletInitializer {
    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(MainLauncher.class);
        application.run(args);
    }

}
